package com.spzx.service.cart;

import com.spzx.common.service.anno.EnableUserWebMvcConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)  // 排除数据库的自动化配置，Cart微服务不需要访问数据库
@EnableUserWebMvcConfiguration
@EnableFeignClients(basePackages = {"com.spzx.service.product.client"})
public class SpzxServiceCartApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpzxServiceCartApplication.class, args);
    }
}